/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * NavigationBar.java
 *
 * Created on 2010-feb-23, 22:55:13
 */

package imat.gui;

/**
 *
 * @author Berget
 */
public class NavigationBar extends javax.swing.JPanel {

    /** Creates new form NavigationBar */
    public NavigationBar() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        previousButton = new javax.swing.JButton();
        homeButton = new javax.swing.JButton();
        storeButton = new javax.swing.JButton();
        shoppingcartButton = new javax.swing.JButton();
        checkoutButton = new javax.swing.JButton();
        forwardButton = new javax.swing.JButton();

        setName("Form"); // NOI18N
        setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.CENTER, 30, 40));

        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(imat.gui.IMatApp.class).getContext().getResourceMap(NavigationBar.class);
        previousButton.setIcon(resourceMap.getIcon("previousButton.icon")); // NOI18N
        previousButton.setText(resourceMap.getString("previousButton.text")); // NOI18N
        previousButton.setName("previousButton"); // NOI18N
        previousButton.setPreferredSize(new java.awt.Dimension(76, 80));
        add(previousButton);

        homeButton.setIcon(resourceMap.getIcon("homeButton.icon")); // NOI18N
        homeButton.setText(resourceMap.getString("homeButton.text")); // NOI18N
        homeButton.setName("homeButton"); // NOI18N
        add(homeButton);

        storeButton.setIcon(resourceMap.getIcon("storeButton.icon")); // NOI18N
        storeButton.setText(resourceMap.getString("storeButton.text")); // NOI18N
        storeButton.setName("storeButton"); // NOI18N
        add(storeButton);

        shoppingcartButton.setIcon(resourceMap.getIcon("shoppingcartButton.icon")); // NOI18N
        shoppingcartButton.setText(resourceMap.getString("shoppingcartButton.text")); // NOI18N
        shoppingcartButton.setName("shoppingcartButton"); // NOI18N
        add(shoppingcartButton);

        checkoutButton.setIcon(resourceMap.getIcon("checkoutButton.icon")); // NOI18N
        checkoutButton.setText(resourceMap.getString("checkoutButton.text")); // NOI18N
        checkoutButton.setName("checkoutButton"); // NOI18N
        add(checkoutButton);

        forwardButton.setIcon(resourceMap.getIcon("forwardButton.icon")); // NOI18N
        forwardButton.setText(resourceMap.getString("forwardButton.text")); // NOI18N
        forwardButton.setName("forwardButton"); // NOI18N
        forwardButton.setPreferredSize(new java.awt.Dimension(96, 80));
        add(forwardButton);
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton checkoutButton;
    private javax.swing.JButton forwardButton;
    private javax.swing.JButton homeButton;
    private javax.swing.JButton previousButton;
    private javax.swing.JButton shoppingcartButton;
    private javax.swing.JButton storeButton;
    // End of variables declaration//GEN-END:variables

}
